package com.lanyun.core.encrypt.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName：EncryptProperties
 * @Description: 加密配置
 * @Author: Jqcc
 * @Date: 2024/3/13
 */
@Data
@Configuration(proxyBeanMethods = false)
@ConfigurationProperties(prefix = "ly.encrypt")
public class EncryptProperties {
    /**
     * 是否开启加密算法
     */
    private Boolean enabled = false;

    /**
     * 加密算法类
     */
    private String algorithmHandler = "com.lanyun.core.encrypt.handler.AESEncryptHandler";

}

